Page({
  data: {
    imgUrls: ["http://r.photo.store.qq.com/psc?/V51688fg1vRc9q3n3omH2cRMjT0zxtCE/45NBuzDIW489QBoVep5mcUNfWi2WHqlJkWxZVWcx92WS3m.dcCH.Ra9xcr9NTto.xqBd0oo3YCUbEjF8y9Y.m9IFvgKT1L5j1FGpLDv.aSw!/r", "http://r.photo.store.qq.com/psc?/V51688fg1vRc9q3n3omH2cRMjT0zxtCE/45NBuzDIW489QBoVep5mcUNfWi2WHqlJkWxZVWcx92Xv.4erGhUQE3WYBLf5cklm56UhvSn5sD4aUNY77CXBPNFVsqWXBUGzh2y4chb7h9A!/r"],
    indicatorDots: true,
    autoplay: true,
    interval: 3000,

  },
  goMap() {
    wx.getLocation({
      type: 'gcj02', //返回可以用于wx.openLocation的经纬度
      success: function (res) {
        var latitude = res.latitude
        var longitude = res.longitude
        wx.openLocation({
          latitude: 36.044263,
          longitude: 103.819419,
          name: "西北民族大学（本部-新村校区）",
          scale: 28
        })
      }
    })
  }
})